using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class MdCustomerdetailTable : TableInfo
	{
		public const string C_TABLENAME = "Md_Customerdetail"; 

		public const string C_CUSTOMERDETAILID = "CUSTOMERDETAILID";
		public const string C_CUSTOMERID = "CUSTOMERID";
		public const string C_CONTACTNAME = "CONTACTNAME";
		public const string C_TEL = "TEL";
		public const string C_JOB = "JOB";
		public const string C_MOBILE = "MOBILE";
		public const string C_EMAIL = "EMAIL";
		public const string C_QQ = "QQ";
				
		public MdCustomerdetailTable()
		{
			_tableName ="Md_Customerdetail";
		}

		protected static MdCustomerdetailTable _current;

		public static MdCustomerdetailTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new MdCustomerdetailTable();

			_current.Add(C_CUSTOMERDETAILID, new ColumnInfo(C_CUSTOMERDETAILID, "", true, typeof(Decimal?)));
			_current.Add(C_CUSTOMERID, new ColumnInfo(C_CUSTOMERID, "", false, typeof(String)));
			_current.Add(C_CONTACTNAME, new ColumnInfo(C_CONTACTNAME, "", false, typeof(String)));
			_current.Add(C_TEL, new ColumnInfo(C_TEL, "", false, typeof(String)));
			_current.Add(C_JOB, new ColumnInfo(C_JOB, "", false, typeof(String)));
			_current.Add(C_MOBILE, new ColumnInfo(C_MOBILE, "", false, typeof(String)));
			_current.Add(C_EMAIL, new ColumnInfo(C_EMAIL, "", false, typeof(String)));
			_current.Add(C_QQ, new ColumnInfo(C_QQ, "", false, typeof(String)));
						
		}

		public ColumnInfo CUSTOMERDETAILID
		{
			get { return this[C_CUSTOMERDETAILID];}
		}

		public ColumnInfo CUSTOMERID
		{
			get { return this[C_CUSTOMERID];}
		}

		public ColumnInfo CONTACTNAME
		{
			get { return this[C_CONTACTNAME];}
		}

		public ColumnInfo TEL
		{
			get { return this[C_TEL];}
		}

		public ColumnInfo JOB
		{
			get { return this[C_JOB];}
		}

		public ColumnInfo MOBILE
		{
			get { return this[C_MOBILE];}
		}

		public ColumnInfo EMAIL
		{
			get { return this[C_EMAIL];}
		}

		public ColumnInfo QQ
		{
			get { return this[C_QQ];}
		}

		
	}
}


